* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.page-layout {
    display: flex;
    height: 100vh;
}

/* 工具面板 */
.tool-panel {
    background: linear-gradient(135deg, #e3f2fd, #fce4ec);
    padding: 20px;
    width: 260px;
    overflow-y: auto;
    border-right: 1px solid #ccc;
}

.tool-panel h2,
.tool-panel h3 {
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
}

.filter-select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.add-member-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.add-member-btn:hover {
    background-color: #1b5e20;
}

/* 工作区：主内容 */
.workspace {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #fff;
}

.page-title {
    margin-bottom: 20px;
}

/* 成员卡片 */
.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.member-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px); /* Adjust for gap */
    padding: 16px;
    display: flex;
    align-items: center;
}

.member-avatar {
    border-radius: 50%;
    margin-right: 16px;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.member-role {
    color: #555;
    margin-bottom: 8px;
}

.member-email, .member-last-login {
    color: #777;
    margin-bottom: 4px;
}

/* 侧边栏 */
.side-panel {
    width: 240px;
    background: #f8f8f8;
    padding: 20px;
    border-left: 1px solid #ccc;
    overflow-y: auto;
}

.quick-actions h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.action-list li {
    list-style-type: none;
    margin-top: 8px;
}

.action-btn {
    display: block;
    padding: 8px 10px;
    background-color: #607d8b;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.action-btn:hover {
    background-color: #546e7a;
}